package com.ruoyi.production.mapper.plug;

import java.util.List;
import com.ruoyi.production.domain.plug.PlugPurchase;

/**
 * 穴盘购买信息Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public interface PlugPurchaseMapper
{
    /**
     * 查询穴盘购买信息
     *
     * @param plugPurchaseId 穴盘购买信息ID
     * @return 穴盘购买信息
     */
    public PlugPurchase selectPlugPurchaseById(Long plugPurchaseId);

    /**
     * 查询穴盘购买信息列表
     *
     * @param plugPurchase 穴盘购买信息
     * @return 穴盘购买信息集合
     */
    public List<PlugPurchase> selectPlugPurchaseList(PlugPurchase plugPurchase);

    /**
     * 新增穴盘购买信息
     *
     * @param plugPurchase 穴盘购买信息
     * @return 结果
     */
    public int insertPlugPurchase(PlugPurchase plugPurchase);

    /**
     * 修改穴盘购买信息
     *
     * @param plugPurchase 穴盘购买信息
     * @return 结果
     */
    public int updatePlugPurchase(PlugPurchase plugPurchase);

    /**
     * 删除穴盘购买信息
     *
     * @param plugPurchaseId 穴盘购买信息ID
     * @return 结果
     */
    public int deletePlugPurchaseById(Long plugPurchaseId);

    /**
     * 批量删除穴盘购买信息
     *
     * @param plugPurchaseIds 需要删除的数据ID
     * @return 结果
     */
    public int deletePlugPurchaseByIds(Long[] plugPurchaseIds);
}
